﻿using System;

namespace edowork.com.Model
{
    #region sysuserInfo

    [Serializable]
    public class sysuserInfo
    {
        #region Private fields

        protected string _userid = String.Empty;
        protected string _sysaccount = String.Empty;
        protected string _syspassword = String.Empty;
        protected string _username = String.Empty;
        protected string _mobile = String.Empty;
        protected string _email = String.Empty;
        protected string _stu1 = String.Empty;
        protected string _remark = String.Empty;
        protected string _sysdate = String.Empty;
        protected string _jobid = String.Empty;
        protected string _departmentid = String.Empty;

        #endregion

        public sysuserInfo() { }

        #region Public Properties

        public string Userid
        {
            get { return _userid; }
            set { _userid = value; }
        }

        public string Sysaccount
        {
            get { return _sysaccount; }
            set { _sysaccount = value; }
        }

        public string Syspassword
        {
            get { return _syspassword; }
            set { _syspassword = value; }
        }

        public string Username
        {
            get { return _username; }
            set { _username = value; }
        }

        public string Mobile
        {
            get { return _mobile; }
            set { _mobile = value; }
        }

        public string Email
        {
            get { return _email; }
            set { _email = value; }
        }

        public string Stu1
        {
            get { return _stu1; }
            set { _stu1 = value; }
        }

        public string Remark
        {
            get { return _remark; }
            set { _remark = value; }
        }

        public string Sysdate
        {
            get { return _sysdate; }
            set { _sysdate = value; }
        }

        public string Jobid
        {
            get { return _jobid; }
            set { _jobid = value; }
        }

        public string Departmentid
        {
            get { return _departmentid; }
            set { _departmentid = value; }
        }

        #endregion

        #region Public SQL Script

        public string SQL_Insert()
        {
            return "insert into sysuser(Userid,Sysaccount,Syspassword,Username,Mobile,Email,Stu1,Remark,Sysdate,Jobid,Departmentid) values('{0}','{1}','{2}','{3}','{4}','{5}','{6}','{7}','{8}','{9}','{10}')";
        }

        #endregion

    }

    #endregion
}

